package com.test.test2.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.test.test2.dao.pojo.Employee;

import java.util.List;

public interface EmployeeService {
    public void addEmp(Employee employee);
    public void delEmp(long id);
    public Employee updateEmpById(Employee employee);
    public List<Employee> findAll();
    public Employee findById(long id);
    public Page<Employee> searchDpEmp(long currentPage, long pageSize);
}
